function generateMusicCode(form){
musicURL = document.inputForm.musicURL.value;

 
output = '<!-- HTML Codes by Santosh --><center><a href="http://www.santosh143.com"><img src="http://dc306.4shared.com/img/5Jgpqfsi/0.73178822438658/Songs.gif" border="0"><br\><b><small>Profile Music</small></b></a>\n' +
"<embed "
 
output +=
 
((musicURL) ? 'src="http://player.picsomania.info/mediaplayer.swf" width="1" height="1" flashvars="&file=' + musicURL + '&' : '') +
'autostart="true" ' +
'hidden="false" ' +
'loop="true" ' +
'></embed></center>\n';
 
document.displaycode.source.value = output;
}